package com.rongji.dfish.ui.annotation;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

@Target(value = { FIELD, METHOD })
@Retention(value = RUNTIME)
@Documented
public @interface Data4FormPanel {
	public String name();
	public NodeType type();
	public String label() default "";
	public int order() default -1;
	public String format() default "yyyy-mm-dd";
	public boolean required() default false;
	public String src() default "";
	public int fromRow() default -1;
	public int fromColumn() default -1;
	public int toRow() default -1;
	public int toColumn() default -1;
	public String dropSrc() default "";
	public double minValue() default Double.MIN_VALUE;
	public double maxValue() default Double.MAX_VALUE;
	public double step() default 1;
}
